package cn.sccl.common.exception.scheduler;

import cn.sccl.common.exception.BusinessException;

/**
 * @author _minus
 * @create 2017-10-09 15:35
 * 任务已经存在异常
 *
 */
public class TaskIsExitingException extends BusinessException {
    private String message ="请保持新建任务名和任务群组不重复！";


    public TaskIsExitingException(){
        super();
    }

    public TaskIsExitingException(Throwable cause) {
        super(cause);
    }

    @Override
    public String getMessage() {
        return this.message;
    }

    @Override
    public String getErrorCode() {
        return "11001";
    }
}
